// 1. 导入db.js
const mongoose = require('./09-1db');
// 2. 创建文档结构对象
const userSchema = new mongoose.Schema({
    name:String,
    age:Number
})
// 3. 创建模型对象
const userModel = mongoose.model('addusers',userSchema)
// 4. 导出对象
module.exports = userModel;